<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="../../styles/base/base.css" type="text/css" media="screen" />
</head>
<body style="background-color:#eeeeee;">
<pre style="color:#000000; background-color:#eeeeee; font-size:8pt; font-family:'Courier New';"><span style="color:#303030">   1 </span><span style="color:#bb7977; font-weight:bold">package</span> no<span style="color:#ff0080; font-weight:bold">.</span>knowit<span style="color:#ff0080; font-weight:bold">.</span>helloejb<span style="color:#ff0080; font-weight:bold">;</span>
<span style="color:#303030">   2 </span><span style="color:#bb7977; font-weight:bold">import</span> javax<span style="color:#ff0080; font-weight:bold">.</span>ejb<span style="color:#ff0080; font-weight:bold">.</span>Stateless<span style="color:#ff0080; font-weight:bold">;</span>
<span style="color:#303030">   3 </span>
<span style="color:#303030">   4 </span>&#64;Stateless
<span style="color:#303030">   5 </span><span style="color:#bb7977; font-weight:bold">public class</span> HelloEjbBean <span style="color:#bb7977; font-weight:bold">implements</span> HelloEjb <span style="color:#ff0080; font-weight:bold">{</span>
<span style="color:#303030">   6 </span>  <span style="color:#bb7977; font-weight:bold">private static final</span> <span style="color:#0080c0">String</span>  ACTUAL_HELLO <span style="color:#ff0080; font-weight:bold">=</span> <span style="color:#a68500">&quot;hello&quot;</span><span style="color:#ff0080; font-weight:bold">;</span>
<span style="color:#303030">   7 </span>
<span style="color:#303030">   8 </span>  &#64;Override
<span style="color:#303030">   9 </span>  <span style="color:#bb7977; font-weight:bold">public</span> <span style="color:#0080c0">String</span> <span style="color:#004466">sayHello</span><span style="color:#ff0080; font-weight:bold">() {</span>
<span style="color:#303030">  10 </span>    <span style="color:#bb7977; font-weight:bold">return</span> ACTUAL_HELLO<span style="color:#ff0080; font-weight:bold">;</span>
<span style="color:#303030">  11 </span>  <span style="color:#ff0080; font-weight:bold">}</span>
<span style="color:#303030">  12 </span><span style="color:#ff0080; font-weight:bold">}</span>
</pre>
</body>
</html>
